from django.core.management import setup_environ
import settings

setup_environ(settings)


from accounts.models import UserProfile

print UserProfile.objects.all()



